Add a portal helper
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2016 00:29:59 +0000 (20:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jul 2016 04:06:14 +0000 (00:06 -0400)
commit96d8afbccb08709db70995be6f273309a6e484e5
tree040de8fc3bc66f87a34e363d2788de995e50527a
parentb840a59766af16e1be365aa23cd69ff12351d400
Add a portal helper

Instead of open-coding checks for sandboxing in multiple
places, add a helper function that caches the information.

https://bugzilla.gnome.org/show_bug.cgi?id=768499
gtk/gtkprivate.c
gtk/gtkprivate.h